package com.qf.pkg.controller;

import com.qf.vo.R;
import com.qf.pkg.service.PackageTenantPermsService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.stereotype.Controller;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author 程序员
 * @since 2023-10-28
 */
@RestController
@RequestMapping("/package-tenant-perms")
@CrossOrigin
public class PackageTenantPermsController {

    @Autowired
    private PackageTenantPermsService packageTenantPermsService;

    //查询所有
    @GetMapping("/all")
    public R all() {
        return R.ok(packageTenantPermsService.list());
    }



}
